//
//  NSString+Extra.h
//  Oos4ios
//
//  Created by Pablo Gonzalez on 3/22/11.
//  Copyright 2011 11870.com. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface NSStringUtils : NSObject

+ (NSString *) removePrefix:(NSString *) prefix 
                 fromString: (NSString *) string;
+ (NSString *) pluralOf: (NSString *) string;

// lists of values
+ (BOOL) string: (NSString *) string 
       hasValue: (NSString *) value;
+ (NSString *) addValue: (NSString *) value 
               toString: (NSString *) string;
+ (NSString *) removeValue: (NSString *) value 
                fromString: (NSString *) string;
+ (NSArray /* NSString */ *) valuesFromString: (NSString *) string;
+ (NSString *) stringWithValues: (NSArray *) values;

@end
